<!DOCTYPE html>
<head>
    <title>电影有约</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link href="__PUBLIC__/bootstrap/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/bootstrap/css/bootstrap-social.css" rel="stylesheet" type="text/css">
    <link href="__PUBLIC__/bootstrap/css/templatemo_style.css" rel="stylesheet" type="text/css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="__PUBLIC__/bootstrap/js/jquery-1.11.1.min.js" type="text/javascript"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="__PUBLIC__/bootstrap/js/bootstrap.min.js"></script>

</head>
<body class="templatemo-bg-image-1">
<div class="container" style="margin-top: 8%">
    <div class="col-md-12">
        <form class="form-horizontal templatemo-login-form-2" role="form" action="{:U('Index/logindo')}" method="post">
            <div class="row">
                <div class="col-md-12">
                    <h1>电影有约V3.0</h1>
                </div>
            </div>
            <div class="row ">
                <div class="templatemo-one-signin col-md-12" style="border:0px;">
                    <div class="form-group">
                        <div class="col-md-12">
                            <label for="username" class="control-label">用户名</label>
                            <div class="templatemo-input-icon-container">
                                
                                <input type="text" class="form-control" id="username" name="username" required="" placeholder="" autofocus>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-12">
                            <label for="password" class="control-label">密  码</label>
                            <div class="templatemo-input-icon-container">
                                
                                <input type="password" class="form-control" id="password" name="password" required="" placeholder="" autofocus="">
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-6">
                            <div class="checkbox"></div>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-6">
                            <label for="password" class="control-label">验证码</label>
                            <div class="templatemo-input-icon-container">
                                
                                <input type="text" class="form-control" id="verify" name="verify" required="" placeholder="" autofocus="">
                            </div>

                        </div>
                        <div class="col-md-6">
                            <div class="templatemo-input-icon-container">
                                <img src="{:U('Index/verify')}" id="img"/>
                            </div>
                        </div>

                    </div>


                    <div class="form-group">
                        <div class="col-md-12">
                            <input type="submit" value="登  录" class="btn btn-warning">
                        </div>
                    </div>
                
                </div>
               
            </div>
        </form>
    </div>
</div>
<script>
    $(function(){
       $('#img').click(function(){
           this.src='{:U('Index/verify')}?id='+Math.random();
       })
    });
</script>

</body>
</html>